package cn.simple.manager.todo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.*;

@Data
@EqualsAndHashCode(callSuper = false )
@NoArgsConstructor

@MappedSuperclass
public class FileStorage {

    @Id
    @Column
    private String id;

    @Column
    private String suffix;

    @Column
    private String url;

    @Column
    private String filename;

    @Column
    private String md5;
}
